<template>
  <el-input :size="size" v-bind="$attrs" v-on="$listeners" clearable show-word-limit>
    <template slot="prepend">
      <slot name="prepend"></slot>
    </template>
    <template slot="append">
      <slot name="append"></slot>
    </template>
  </el-input>
</template>

<script>
  export default {
    name: "my-input",
    props: {
      /** 默认大小mini **/
      size:{
        type: String,
        default: 'mini'
      }
    },
  }
</script>

<style scoped>

</style>
